package com.lovo.system.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_purchase")
public class PurchaseDto {

    @TableId(value = "purchase_id",type = IdType.AUTO)
    private int purchaseId;

    private int userId;

    private String code;

    private String purchaseName;

    private String purchaseBrand;

    private int purchaseType;

    private int purchaseNumber;

    private double purchasePrice;

    private String purchaseImg;

}
